﻿using MediatR;
using U.B.ErrorCode;

namespace U.B.WriteApi.Command.RabbitBWss
{
    public class UpdateFarmCommmand:IRequest<ApiResult<object>>
    {
        public int FarmId { get; set; }
        /// <summary>
        /// 商品的生产批次号
        /// </summary>
        public string? BatchNo { get; set; }

        /// <summary>
        /// 养殖品种的名称
        /// </summary>
        public string? TypeName { get; set; }

        /// <summary>
        /// 养殖物的来源信息
        /// </summary>
        public string? Source { get; set; }

        /// <summary>
        /// 饲养的天数
        /// </summary>
        public int FeedDays { get; set; }

        /// <summary>
        /// 使用的饲料品牌
        /// </summary>
        public string? FeedBrand { get; set; }

        /// <summary>
        /// 负责饲养的人员姓名
        /// </summary>
        public string? FeedPerson { get; set; }

        /// <summary>
        /// 出栏日期，年月日默认值为空
        /// </summary>
        public DateTime? OutboundTime { get; set; }
    }
}
